﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MobileResourceMasterPage.master" AutoEventWireup="true" CodeFile="reco_step.aspx.cs" Inherits="reco_step" %>
<%@ Register src="Controls/pie.ascx" tagname="pie" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="MainBody">
<div id="navMenu">
    <ul>
        <li><a href='Management.aspx'>教师管理</a></li>
        <li><a href='StuManagement.aspx'>学生管理</a></li>
        <li><a href='ResourceManagement.aspx'>资源管理</a></li>
        <li class="onelink"><a href='AddInformation.aspx' >添加信息</a></li>
        </ul>
</div>
<div class="Left">
<asp:TreeView ID="TreeView1" runat="server">
        <Nodes>
            <asp:TreeNode Text="教师管理" Value="教师管理" NavigateUrl="Management.aspx"></asp:TreeNode>
            <asp:TreeNode Text="学生管理" Value="学生管理" NavigateUrl="StuManagement.aspx"></asp:TreeNode>
            <asp:TreeNode Text="资源管理" Value="资源管理" NavigateUrl="ResourceManagement.aspx"></asp:TreeNode>
            <asp:TreeNode Text="添加信息" Value="添加信息" NavigateUrl="AddInformation.aspx"></asp:TreeNode>
            <asp:TreeNode Text="公告管理" Value="公告管理" NavigateUrl="AnnManagment.aspx"></asp:TreeNode>
        </Nodes>
    </asp:TreeView>
</div>
    <div class="Center">
        <div style="width:540px; float:left">
            <asp:Label ID="LabelMname" runat="server" Text="演示用户："></asp:Label>
            <asp:Label ID="LabelCname" runat="server" Text="Label"></asp:Label>
            <asp:Button ID="ButtonStep1" runat="server" Text="第一步：构建用户-课程评分矩阵" 
                onclick="ButtonStep1_Click" Width="270px" />
            <asp:Button ID="ButtonStep2" runat="server" Text="第二步：计算Spearman系数" 
                Width="270px" onclick="ButtonStep2_Click" />
            <asp:Button ID="ButtonStep3" runat="server" Text="第三步：计算相似度，并选择加入最近邻居" 
                Width="270px" />
            <asp:Button ID="ButtonStep4" runat="server" Text="第四步：获得用户评分" Width="270px" />
         <asp:Panel ID="PanelMatrix" runat="server" Width="540">
             1<asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" 
            GridLines="None">
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        </asp:Panel>
            <asp:Panel ID="PanelRank" runat="server" Width="540">
            <asp:Label ID="Label7" runat="server" Text="计算用户sid2 评分排名"></asp:Label>
            </asp:Panel>
                        <asp:Panel ID="PanelNei" runat="server" Width="540">
            </asp:Panel>
                        <asp:Panel ID="PanelScore" runat="server" Width="540">
            </asp:Panel>
        </div>
        </div>

    <div class="Right">
    <div style="width: 140px; float:left">
      <asp:Label ID="Label2" runat="server" Text="用户筛选相似度："></asp:Label>
      </div>
        <asp:TextBox ID="TextBoxSim" runat="server" Width="90px" ></asp:TextBox>
        <br />
        <br />
        <div  style="width: 140px; float:left; height: 14px;">
        <asp:Label ID="Label3" runat="server" Text="1GPA对应难度分："></asp:Label>
        </div>
        <asp:TextBox ID="TextGPAperscore" runat="server" Width="90px"></asp:TextBox>
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="修改" onclick="Button1_Click" 
            style="height: 21px" />
         <br />
         <br />
         <div style="width:250px">

    <div  style="width: 140px; float:left; height: 14px;"> 
    <asp:Label ID="Label1" runat="server" Text="资源下载数权值："></asp:Label>
      </div>
        <asp:TextBox ID="TextBoxDownload" runat="server" Width="90px" ></asp:TextBox>
        <br />
        <br />
        <div  style="width: 140px; float:left; height: 14px;">
        <asp:Label ID="Label4" runat="server" Text="用户偏好权值："></asp:Label>
        </div>
        <asp:TextBox ID="TextBoxPreference" runat="server" Width="90px"></asp:TextBox>
        <br />
        <br />
        <div style="width: 140px; float:left; height: 16px;">
        <asp:Label ID="Label5" runat="server" Text="新鲜度权值："></asp:Label>
        </div>
        <asp:TextBox ID="TextBoxTime" runat="server" Width="90px"></asp:TextBox>
        <br />
        <br />
        <div style="width: 140px; float:left">
        <asp:Label ID="Label6" runat="server" Text="难度权值："></asp:Label>
        </div>
        <asp:TextBox ID="TextBoxGPA" runat="server" Width="90px"></asp:TextBox>
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" Text="推送" onclick="Button2_Click" 
            style="height: 21px" />
</div>
                <uc1:pie ID="pie1" runat="server" />
        </div>
</div>
</asp:Content>

